package vista;

import java.io.Serializable;
import javax.faces.bean.ManagedBean;
 
@ManagedBean
public class BeanMenu implements Serializable {

	private static final long serialVersionUID = 2L;
    private String link1="Ver publicaciones";
    private String link2="Realizar publicacion";
    private String link3="Cerrar Sesion";
    private String link4="Ubicaciones";
    
    public String getLink4() {
		return link4;
	}

	public void setLink4(String link4) {
		this.link4 = link4;
	}

	public String getLink1() {
    	return link1;
    }
    
    public void setLink1(String link1) {
    	this.link1 = link1;
    }
        
    public String getLink2() {
    	return link2;
    }
        
    public void setLink2(String link2) {
    	this.link2 = link2;
    }

    public String getLink3() {
    	return link3;
    }

    public void setLink3(String link3) {
    	this.link3 = link3;
    }
        
    public String CerrarSesion(){
        return "iniciarsesion.xhtml";
    }
        
    public String RealizarPublicacion(){
        return "publicar.xhtml";
    }
        
    public String verpublicaciones(){
        return "verpublicaciones.xhtml";
    }
    
    public String ubicaciones(){
    	System.out.println("Esta entrando?");
        return "mapa";
    }
}